<template>
  <div class="app-container">
    <div>
      <wjf-table
        :key="tableKey"
        v-loading="listLoading"
        :data="list"
        header-row-class-name="el-table-tj"
        tooltip-effect="dark"
        :columns="columns"
        border
        fit
        highlight-current-row
        style="width: 100%;"
        @sort-change="sortChange"
      />

    </div>
  </div>
</template>
<style>

</style>
<script>
import listCommon from '@/views/common/list'
export default {
  name: 'Cuspricemx',
  mixins: [listCommon],
  data() {
    return {
      listLoading: false,
      listQuery: {
        id: this.$route.query.id,
        orderBy: 'material_id'
      },
      columns: [
        {
          label: '物料编码',
          key: 'materialId',
          width: 200,
          align: 'center'
        },
        {
          label: '物料名称',
          key: 'materialName'
        },
        {
          label: '中心价格',
          key: 'cenPrice'
        },
        {
          label: '加减价格',
          key: 'jjprice'
        },
        {
          label: '客户价格',
          key: 'cusPrice'
        },
        {
          label: '促销价格',
          key: 'promotionPrice'
        },
        {
          label: '客户编码',
          key: 'customerId'
        },
        {
          label: '客户名称',
          key: 'customerName'
        }
      ]
    }
  },
  methods: {
  }
}
</script>
